<%@ page language="java" import="java.util.*" pageEncoding="GB18030"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
String error = (String)request.getAttribute("error");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'Login.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/login.css" >
	<!--  <style type="text/css"> @import url('css/login.css');</style> -->
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
 	<%if(error != null){ %>
 		<label>error: <%=error%></label>
 	<%} %>
 		<div class="ribbon">Login to your account</div> 
		<div class="wrapper"> 
			<!--  <div class="logo"></div> -->
			<div class="loginwrapper"> 
 			<form action="LoginServlet" method = "post">
 				<span class="usertext">Username:</span><br>
 				<input class="textbox" name = "Username" type="text" size="25"><br> 
				<span class="usertext">Password:</span><br> 
				<input class="textbox" name = "Password" type="password" size="25"> 
				<img src="images/login/lock.png" alt="Lock Image"><br> 
			<div class="bottomwrapper"> 
				<input type="submit" value="" class="button"> 
				<a href="#">Login to your account</a><br> 
			</div> 
 			</form>
			</div>
				</div> 
   <!--   <form action="LoginServlet" method = "post">
    <table>
    	<tr>
    		<td>Username</td>
    		<td><input name = "Username" type = text/></td>
    	</tr>
    	<tr>
    		<td>Password</td>
    		<td><input name = "Password" type = "password" /> </td>
    	</tr>
    	<tr>
    		<td>Verification</td>
    		<td><input name = "Verification" type="text"  /><img src='/PizzaStore/CreateVerificationServlet' /> </td>
    	</tr>
    </table>
    <input type="submit" value="Log In">
    <input type="reset" value="Reset">
    </form>-->
  </body>
</html>
